import App from '../components/App.vue'

const home = r => require.ensure([], () => r(require('../page/home.vue')), 'home')
const sub = r => require.ensure([], () => r(require('../page/sub.vue')), 'sub');
const draw = r => require.ensure([], () => r(require('../page/draw.vue')), 'draw');
/*export default [{
	path: '/',
	component: App,
	children: [
		{
			path: '',
			component: home
		},
		{
			path: '/home',
			component: home
		},
		{
			path: '/sub',
			component: sub
		},
		{
			path: '/draw',
			component: draw
		}
	]
}]*/
export default [


{
	path: '',
	meta :{
		title: '天降异宝',
	},
	component: home
},
{
	path: '/home',
	meta :{
		title: '天降异宝',
	},
	component: home
},
{
	path: '/sub',
	meta :{
		title: '星辰答题赢大奖',
	},
	component: sub
},
{
	path: '/draw',
	meta :{
		title: '星辰答题赢大奖',
	},
	component: draw
}

]
